package com.nineclock.message.service;

import com.nineclock.dto.SysAllowedJoinCompanyUserDTO;
import com.nineclock.message.dto.NcMessageDto;
import com.nineclock.message.dto.NcMessageQueryDTO;
import com.nineclock.message.pojo.NcMessage;

import java.util.List;

public interface NcMessageService {
    /**
     * 根据用户别名推送消息
     * @param
     * @return
     */
    public void pushMessage(NcMessage ncMessage);

    List<NcMessageDto> findMessageHistory(NcMessageQueryDTO ncMessageQueryDTO);

    void allowedMessageUpdate(String id);
}
